home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hpmopy.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  56.6 KB  |  1,823 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.104"
  3. *GPDFileName: "hpmopy.gpd"
  4. *Include: "StdNames.gpd"
  5. *Include: "ttfsub.gpd"
  6. *ModelName: "HP LaserJet 5Si Mopier"
  7. *MasterUnits: PAIR(1200, 1200)
  8.  
  9. *ResourceDLL: "pcl5eres.dll"
  10. *HelpFile: "hpcljx.hlp"
  11.  
  12. *FontCartSlots: 4
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15.  
  16. *PrintRate: 24
  17. *PrintRateUnit: PPM
  18. *PrintRatePPM: 24
  19.  
  20. *rcInstalledOptionNameID:    443 *% Installed
  21. *rcNotInstalledOptionNameID: 444 *% Not Installed
  22.  
  23. *Feature: Orientation
  24. {
  25.     *rcNameID: =ORIENTATION_DISPLAY
  26.     *DefaultOption: PORTRAIT
  27.     *Option: PORTRAIT
  28.     {
  29.         *rcNameID: =PORTRAIT_DISPLAY
  30.         *Command: CmdSelect
  31.         {
  32.             *Order: DOC_SETUP.2
  33.             *NoPageEject?: TRUE
  34.             *Cmd: "<1B>&l0o1E"
  35.         }
  36.     }
  37.     *Option: LANDSCAPE_CC90
  38.     {
  39.         *rcNameID: =LANDSCAPE_DISPLAY
  40.         *Command: CmdSelect
  41.         {
  42.             *Order: DOC_SETUP.2
  43.             *NoPageEject?: TRUE
  44.             *Cmd: "<1B>&l1o1E"
  45.         }
  46.     }
  47. }
  48.  
  49. *Feature: InputBin
  50. {
  51.     *rcNameID: =PAPER_SOURCE_DISPLAY
  52.     *DefaultOption: Option1
  53.     *Option: Option1
  54.     {
  55.         *rcNameID: 271  *% Automatically Select
  56.         *Command: CmdSelect
  57.         {
  58.             *Order: DOC_SETUP.5
  59.             *Cmd: "<1B>&l7H"
  60.         }
  61.     }
  62.     *Option: UPPER
  63.     {
  64.         *rcNameID: 277  *% Tray2
  65.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  66.         *Command: CmdSelect
  67.         {
  68.             *Order: DOC_SETUP.5
  69.             *Cmd: "<1B>&l1H"
  70.         }
  71.     }
  72.     *Option: MANUAL
  73.     {
  74.         *rcNameID: 494  *% Manual Feed
  75.         *Command: CmdSelect
  76.         {
  77.             *Order: DOC_SETUP.5
  78.             *Cmd: "<1B>&l2H"
  79.         }
  80.     }
  81.     *Option: LOWER
  82.     {
  83.         *rcNameID: 410  *% Tray3
  84.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  85.         *Command: CmdSelect
  86.         {
  87.             *Order: DOC_SETUP.5
  88.             *Cmd: "<1B>&l4H"
  89.         }
  90.     }
  91.     *Option: ENVFEED
  92.     {
  93.         *rcNameID: =ENV_FEED_DISPLAY  *% Envelope Feeder
  94.         *Constraints: LIST(MediaType.Transparency)
  95.         *Command: CmdSelect
  96.         {
  97.             *Order: DOC_SETUP.5
  98.             *Cmd: "<1B>&l6H"
  99.         }
  100.     }
  101.     *Option: Option7
  102.     {
  103.         *rcNameID: 276 *% MP Tray or Tray1
  104.         *Command: CmdSelect
  105.         {
  106.             *Order: DOC_SETUP.5
  107.             *Cmd: "<1B>&l8H"
  108.         }
  109.     }
  110.     *Option: LARGECAPACITY
  111.     {
  112.         *rcNameID: 428  *% Tray4
  113.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  114.         *Command: CmdSelect
  115.         {
  116.             *Order: DOC_SETUP.5
  117.             *Cmd: "<1B>&l5H"
  118.         }
  119.     }
  120. }
  121.  
  122. *% IMPORTANT NOTE:
  123. *% The OEM customization code assumes that this feature's keyname is
  124. *%   "EnvFeeder"
  125. *% The OEM customization code assumes that the options are named "TRUE" and
  126. *%   "FALSE"
  127. *%
  128. *% explicit feature to constrain env feeder
  129. *Feature: EnvFeeder
  130. {
  131.     *rcNameID: =ENV_FEED_DISPLAY
  132.     *HelpIndex: 12000
  133.     *FeatureType: PRINTER_PROPERTY
  134.     *DefaultOption: FALSE
  135.     *Option: FALSE
  136.     {
  137.         *rcNameID: 444
  138.     }
  139.     *Option: TRUE
  140.     {
  141.         *rcNameID: 443
  142.     }
  143. }
  144. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.ENVFEED)
  145.  
  146. *% IMPORTANT NOTE:
  147. *% The OEM customization code assumes that this feature's keyname is
  148. *%   "HCI"
  149. *% The OEM customization code assumes that the options are named "NONE" and
  150. *%   "2000HCI"
  151. *%
  152. *% explicit feature to constrain tray 4
  153. *Feature: HCI
  154. {
  155.     *rcNameID: 373   *%High Capacity Input
  156.     *HelpIndex: 12001
  157.     *FeatureType: PRINTER_PROPERTY
  158.     *DefaultOption: NONE
  159.     *Option: NONE
  160.     {
  161.         *rcNameID: 444
  162.     }
  163.     *Option: 2000HCI
  164.     {
  165.         *rcNameID: 427
  166.     }
  167. }
  168. *InvalidCombination: LIST(HCI.NONE,InputBin.LARGECAPACITY)
  169.  
  170. *Feature: Resolution
  171. {
  172.     *rcNameID: =RESOLUTION_DISPLAY
  173.     *DefaultOption: Option1
  174.     *Option: Option1
  175.     {
  176.         *Name: "600 x 600 " =DOTS_PER_INCH
  177.         *DPI: PAIR(600, 600)
  178.         *TextDPI: PAIR(600, 600)
  179.         *MinStripBlankPixels: 32
  180.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  181.         *SpotDiameter: 100
  182.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  183.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  184.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  185.         *Command: CmdSelect
  186.         {
  187.             *Order: JOB_SETUP.6
  188.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  189.         }
  190.     }
  191.     *Option: Option2
  192.     {
  193.         *Name: "300 x 300 " =DOTS_PER_INCH
  194.         *DPI: PAIR(300, 300)
  195.         *TextDPI: PAIR(300, 300)
  196.         *MinStripBlankPixels: 32
  197.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  198.         *SpotDiameter: 100
  199.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  200.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  201.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  202.         *Command: CmdSelect
  203.         {
  204.             *Order: JOB_SETUP.6
  205.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  206.         }
  207.     }
  208. }
  209.  
  210.  
  211. *% define macro for common paper constraints
  212. *BlockMacro: PaperConstraints
  213. {
  214.     *Constraints: LIST(InputBin.UPPER, InputBin.LOWER, InputBin.LARGECAPACITY)
  215. }
  216.  
  217.  
  218. *Feature: PaperSize
  219. {
  220.     *rcNameID: =PAPER_SIZE_DISPLAY
  221.     *HelpIndex: 13022
  222.     *DefaultOption: LETTER
  223.     *Option: LETTER
  224.     {
  225.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  226.         *PageProtectMem: 4109
  227.         *Constraints: InputBin.ENVFEED
  228.         *switch: Orientation
  229.         {
  230.             *case: PORTRAIT
  231.             {
  232.                 *PrintableArea: PAIR(9600, 12800)
  233.                 *PrintableOrigin: PAIR(300, 200)
  234.                 *CursorOrigin: PAIR(300, 200)
  235.                 *Command: CmdSelect
  236.                 {
  237.                     *Order: DOC_SETUP.6
  238.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  239.                 }
  240.             }
  241.             *case: LANDSCAPE_CC90
  242.             {
  243.                 *PrintableArea: PAIR(9800, 12720)
  244.                 *PrintableOrigin: PAIR(200, 240)
  245.                 *CursorOrigin: PAIR(200, 12960)
  246.                 *Command: CmdSelect
  247.                 {
  248.                     *Order: DOC_SETUP.6
  249.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  250.                 }
  251.             }
  252.         }
  253.     }
  254.    
  255.     *Option: LEGAL
  256.     {
  257.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  258.         *PageProtectMem: 5230
  259.         *Constraints: InputBin.ENVFEED
  260.         *switch: Orientation
  261.         {
  262.             *case: PORTRAIT
  263.             {
  264.                 *PrintableArea: PAIR(9600, 16400)
  265.                 *PrintableOrigin: PAIR(300, 200)
  266.                 *CursorOrigin: PAIR(300, 200)
  267.                 *Command: CmdSelect
  268.                 {
  269.                     *Order: DOC_SETUP.6
  270.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  271.                 }
  272.             }
  273.             *case: LANDSCAPE_CC90
  274.             {
  275.                 *PrintableArea: PAIR(9800, 16320)
  276.                 *PrintableOrigin: PAIR(200, 240)
  277.                 *CursorOrigin: PAIR(200, 16560)
  278.                 *Command: CmdSelect
  279.                 {
  280.                     *Order: DOC_SETUP.6
  281.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  282.                 }
  283.             }
  284.         }
  285.     }
  286.     *Option: EXECUTIVE
  287.     {
  288.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289.         *PageProtectMem: 4109
  290.         *InsertBlock: =PaperConstraints
  291.         *Constraints: InputBin.ENVFEED
  292.         *switch: Orientation
  293.         {
  294.             *case: PORTRAIT
  295.             {
  296.                 *PrintableArea: PAIR(8100, 12200)
  297.                 *PrintableOrigin: PAIR(300, 200)
  298.                 *CursorOrigin: PAIR(300, 200)
  299.                 *Command: CmdSelect
  300.                 {
  301.                     *Order: DOC_SETUP.6
  302.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  303.                 }
  304.             }
  305.             *case: LANDSCAPE_CC90
  306.             {
  307.                 *PrintableArea: PAIR(8300, 12120)
  308.                 *PrintableOrigin: PAIR(200, 240)
  309.                 *CursorOrigin: PAIR(200, 12360)
  310.                 *Command: CmdSelect
  311.                 {
  312.                     *Order: DOC_SETUP.6
  313.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  314.                 }
  315.             }
  316.         }
  317.     }
  318.     *Option: 11X17
  319.     {
  320.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  321.        
  322.         *PageProtectMem: 9350
  323.         *Constraints: InputBin.UPPER
  324.         *Constraints: InputBin.ENVFEED
  325.         *switch: Orientation
  326.         {
  327.             *case: PORTRAIT
  328.             {
  329.                 *PrintableArea: PAIR(12600, 20000)
  330.                 *PrintableOrigin: PAIR(300, 200)
  331.                 *CursorOrigin: PAIR(300, 200)
  332.                 *Command: CmdSelect
  333.                 {
  334.                     *Order: DOC_SETUP.6
  335.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  336.                 }
  337.             }
  338.             *case: LANDSCAPE_CC90
  339.             {
  340.                 *PrintableArea: PAIR(12800, 19920)
  341.                 *PrintableOrigin: PAIR(200, 240)
  342.                 *CursorOrigin: PAIR(200, 20160)
  343.                 *Command: CmdSelect
  344.                 {
  345.                     *Order: DOC_SETUP.6
  346.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  347.                 }
  348.             }
  349.         }
  350.     }
  351.  
  352.     *Option: A4
  353.     {
  354.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  355.         *PageProtectMem: 4249
  356.         *Constraints: InputBin.ENVFEED
  357.         *switch: Orientation
  358.         {
  359.             *case: PORTRAIT
  360.             {
  361.                 *PrintableArea: PAIR(9352, 13628)
  362.                 *PrintableOrigin: PAIR(284, 200)
  363.                 *CursorOrigin: PAIR(284, 200)
  364.                 *Command: CmdSelect
  365.                 {
  366.                     *Order: DOC_SETUP.6
  367.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8177Y"
  368.                 }
  369.             }
  370.             *case: LANDSCAPE_CC90
  371.             {
  372.                 *PrintableArea: PAIR(9520, 13556)
  373.                 *PrintableOrigin: PAIR(200, 236)
  374.                 *CursorOrigin: PAIR(200, 13792)
  375.                 *Command: CmdSelect
  376.                 {
  377.                     *Order: DOC_SETUP.6
  378.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8134x5712Y"
  379.                 }
  380.             }
  381.         }
  382.     }
  383.     *Option: ENV_10
  384.     {
  385.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  386.         *PageProtectMem: 4109
  387.         *InsertBlock: =PaperConstraints
  388.         *Constraints: Duplex.VERTICAL
  389.         *Constraints: Duplex.HORIZONTAL
  390.         *switch: Orientation
  391.         {
  392.             *case: PORTRAIT
  393.             {
  394.                 *PrintableArea: PAIR(4348, 11000)
  395.                 *PrintableOrigin: PAIR(300, 200)
  396.                 *CursorOrigin: PAIR(300, 200)
  397.                 *Command: CmdSelect
  398.                 {
  399.                     *Order: DOC_SETUP.6
  400.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  401.                 }
  402.             }
  403.             *case: LANDSCAPE_CC90
  404.             {
  405.                 *PrintableArea: PAIR(4548, 10920)
  406.                 *PrintableOrigin: PAIR(200, 240)
  407.                 *CursorOrigin: PAIR(200, 11160)
  408.                 *Command: CmdSelect
  409.                 {
  410.                     *Order: DOC_SETUP.6
  411.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  412.                 }
  413.             }
  414.         }
  415.     }
  416.     *Option: ENV_DL
  417.     {
  418.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  419.         *PageProtectMem: 4109
  420.         *InsertBlock: =PaperConstraints
  421.         *Constraints: Duplex.VERTICAL
  422.         *Constraints: Duplex.HORIZONTAL
  423.         *switch: Orientation
  424.         {
  425.             *case: PORTRAIT
  426.             {
  427.                 *PrintableArea: PAIR(4628, 9992)
  428.                 *PrintableOrigin: PAIR(284, 200)
  429.                 *CursorOrigin: PAIR(284, 200)
  430.                 *Command: CmdSelect
  431.                 {
  432.                     *Order: DOC_SETUP.6
  433.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  434.                 }
  435.             }
  436.             *case: LANDSCAPE_CC90
  437.             {
  438.                 *PrintableArea: PAIR(4796, 9920)
  439.                 *PrintableOrigin: PAIR(200, 236)
  440.                 *CursorOrigin: PAIR(200,10156)
  441.                 *Command: CmdSelect
  442.                 {
  443.                     *Order: DOC_SETUP.6
  444.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  445.                 }
  446.             }
  447.         }
  448.     }
  449.     *Option: ENV_MONARCH
  450.     {
  451.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  452.         *PageProtectMem: 4109
  453.         *InsertBlock: =PaperConstraints
  454.         *Constraints: Duplex.VERTICAL
  455.         *Constraints: Duplex.HORIZONTAL
  456.         *switch: Orientation
  457.         {
  458.             *case: PORTRAIT
  459.             {
  460.                 *PrintableArea: PAIR(4048, 8600)
  461.                 *PrintableOrigin: PAIR(300, 200)
  462.                 *CursorOrigin: PAIR(300, 200)
  463.                 *Command: CmdSelect
  464.                 {
  465.                     *Order: DOC_SETUP.6
  466.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  467.                 }
  468.             }
  469.             *case: LANDSCAPE_CC90
  470.             {
  471.                 *PrintableArea: PAIR(4248, 8520)
  472.                 *PrintableOrigin: PAIR(200, 240)
  473.                 *CursorOrigin: PAIR(200, 8760)
  474.                 *Command: CmdSelect
  475.                 {
  476.                     *Order: DOC_SETUP.6
  477.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  478.                 }
  479.             }
  480.         }
  481.     }
  482.     *Option: A3
  483.     {
  484.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  485.         *PageProtectMem: 9667
  486.         *Constraints: InputBin.ENVFEED
  487.         *Constraints: InputBin.UPPER
  488.         *switch: Orientation
  489.         {
  490.             *case: PORTRAIT
  491.             {
  492.                 *PrintableArea: PAIR(13460, 19440)
  493.                 *PrintableOrigin: PAIR(284, 200)
  494.                 *CursorOrigin: PAIR(284, 200)
  495.                 *Command: CmdSelect
  496.                 {
  497.                     *Order: DOC_SETUP.6
  498.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8076x11664Y"
  499.                 }
  500.             }
  501.             *case: LANDSCAPE_CC90
  502.             {
  503.                 *PrintableArea: PAIR(13628, 19368)
  504.                 *PrintableOrigin: PAIR(200, 236)
  505.                 *CursorOrigin: PAIR(200, 19604)
  506.                 *Command: CmdSelect
  507.                 {
  508.                     *Order: DOC_SETUP.6
  509.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  510.                 }
  511.             }
  512.         }
  513.     }
  514.     *Option: B4
  515.     {
  516.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  517.         *PageProtectMem: 6391
  518.         *Constraints: InputBin.ENVFEED
  519.         *switch: Orientation
  520.         {
  521.             *case: PORTRAIT
  522.             {
  523.                 *PrintableArea: PAIR(11572, 16796)
  524.                 *PrintableOrigin: PAIR(284, 200)
  525.                 *CursorOrigin: PAIR(284, 200)
  526.                 *Command: CmdSelect
  527.                 {
  528.                     *Order: DOC_SETUP.6
  529.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6943x10078Y"
  530.                 }
  531.             }
  532.             *case: LANDSCAPE_CC90
  533.             {
  534.                 *PrintableArea: PAIR(11740, 16724)
  535.                 *PrintableOrigin: PAIR(200, 236)
  536.                 *CursorOrigin: PAIR(200, 16960)
  537.                 *Command: CmdSelect
  538.                 {
  539.                     *Order: DOC_SETUP.6
  540.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10034x7044Y"
  541.                 }
  542.             }
  543.         }
  544.     }
  545.     *Option: B5
  546.     {
  547.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  548.         *PageProtectMem: 3198
  549.         *InsertBlock: =PaperConstraints
  550.         *Constraints: InputBin.ENVFEED
  551.         *switch: Orientation
  552.         {
  553.             *case: PORTRAIT
  554.             {
  555.                 *PrintableArea: PAIR(8028, 11740)
  556.                 *PrintableOrigin: PAIR(284, 200)
  557.                 *CursorOrigin: PAIR(284, 200)
  558.                 *Command: CmdSelect
  559.                 {
  560.                     *Order: DOC_SETUP.6
  561.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4817x7044Y"
  562.                 }
  563.             }
  564.             *case: LANDSCAPE_CC90
  565.             {
  566.                 *PrintableArea: PAIR(8196, 11668)
  567.                 *PrintableOrigin: PAIR(200, 236)
  568.                 *CursorOrigin: PAIR(200, 11904)
  569.                 *Command: CmdSelect
  570.                 {
  571.                     *Order: DOC_SETUP.6
  572.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4918Y"
  573.                 }
  574.             }
  575.         }
  576.     }
  577.     *Option: ENV_C5
  578.     {
  579.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  580.         *PageProtectMem: 4109
  581.         *InsertBlock: =PaperConstraints
  582.         *Constraints: Duplex.VERTICAL
  583.         *Constraints: Duplex.HORIZONTAL
  584.         *switch: Orientation
  585.         {
  586.             *case: PORTRAIT
  587.             {
  588.                 *PrintableArea: PAIR(7084, 10416)
  589.                 *PrintableOrigin: PAIR(284, 200)
  590.                 *CursorOrigin: PAIR(284, 200)
  591.                 *Command: CmdSelect
  592.                 {
  593.                     *Order: DOC_SETUP.6
  594.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6250Y"
  595.                 }
  596.             }
  597.             *case: LANDSCAPE_CC90
  598.             {
  599.                 *PrintableArea: PAIR(7252, 10344)
  600.                 *PrintableOrigin: PAIR(200, 236)
  601.                 *CursorOrigin: PAIR(200, 10580)
  602.                 *Command: CmdSelect
  603.                 {
  604.                     *Order: DOC_SETUP.6
  605.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6206x4351Y"
  606.                 }
  607.             }
  608.         }
  609.     }
  610. *Ifdef: WINNT_50
  611.     *Option: DBL_JAPANESE_POSTCARD_ROTATED
  612.     {
  613.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  614.         *PageProtectMem: 4109
  615.         *Constraints: InputBin.ENVFEED
  616.         *Constraints: Duplex.VERTICAL
  617.         *Constraints: Duplex.HORIZONTAL
  618.         *InsertBlock: =PaperConstraints
  619.         *switch: Orientation
  620.         {
  621.             *case: PORTRAIT
  622.             {
  623.                 *PrintableArea: PAIR(6392,9048)
  624.                 *PrintableOrigin: PAIR(300, 200)
  625.                 *CursorOrigin: PAIR(300, 200)
  626.                 *Command: CmdSelect
  627.                 {
  628.                     *Order: DOC_SETUP.6
  629.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3835x5429Y"
  630.                 }
  631.             }
  632.             *case: LANDSCAPE_CC90
  633.             {
  634.                 *PrintableArea: PAIR(6592, 8968)
  635.                 *PrintableOrigin: PAIR(200, 240)
  636.                 *CursorOrigin: PAIR(200, 9208)
  637.                 *Command: CmdSelect
  638.                 {
  639.                     *Order: DOC_SETUP.6
  640.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5381x3955Y"
  641.                 }
  642.             }
  643.         }
  644.     }
  645. *Endif: WINNT_50
  646.     *Option: CUSTOMSIZE
  647.     {
  648.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  649.         *MinSize: PAIR(4632,9000)
  650.         *MaxSize: PAIR(14040, 21240)
  651.         *MaxPrintableWidth: 14040
  652.         *MinLeftMargin: 100
  653.         *CenterPrintable?: FALSE
  654.         *PageProtectMem: 1692
  655.         *InsertBlock: =PaperConstraints
  656.         *Constraints: InputBin.ENVFEED
  657.         *switch: Orientation
  658.         {
  659.             *case: PORTRAIT
  660.             {
  661.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +300}
  662.                 *CustCursorOriginY:   %d{200 }
  663.                 *CustPrintableOriginX:  %d{200}
  664.                 *CustPrintableOriginY:  %d{200}
  665.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  666.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 400 }
  667.                 *Command: CmdSelect
  668.                 {
  669.                      *Order: DOC_SETUP.6
  670.                      *Cmd: "<1B>&l101a8c1e99F<1B>*p0x0Y<1B>*c0t8184x12504Y"
  671.                 }
  672.             }
  673.             *case: LANDSCAPE_CC90
  674.             {
  675.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +200 }
  676.                 *CustCursorOriginY:   %d{21000}
  677.                 *CustPrintableOriginX:  %d{200}
  678.                 *CustPrintableOriginY:  %d{240}
  679.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  680.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  681.  
  682.                 *Command: CmdSelect
  683.                 {
  684.                     *Order: DOC_SETUP.6
  685.                     *Cmd: "<1B>&l101a8c1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  686.                 }
  687.            }
  688.         }
  689.     }
  690.     *Option: MyMax117x177
  691.     {
  692.         *% Maximum 11.7 x17.7
  693.         *rcNameID: 262
  694.         *PageDimensions: PAIR(14040, 21240)
  695.         *PageProtectMem: 10000
  696.         *InsertBlock: =PaperConstraints
  697.         *Constraints: InputBin.ENVFEED 
  698.         *Constraints: Duplex.VERTICAL
  699.         *Constraints: Duplex.HORIZONTAL
  700.         *switch: Orientation
  701.         {
  702.             *case: PORTRAIT
  703.             {
  704.                 *PrintableArea: PAIR(13440, 20840)
  705.                 *PrintableOrigin: PAIR(300, 200)
  706.                 *CursorOrigin: PAIR(300, 200)
  707.                 *Command: CmdSelect
  708.                 {
  709.                     *Order: DOC_SETUP.6
  710.                     *Cmd: "<1B>&l101a1e99F<1B>*p0x0Y<1B>*c0t8064x12504Y"
  711.                 }
  712.             }
  713.             *case: LANDSCAPE_CC90
  714.             {
  715.                 *PrintableArea: PAIR(13640, 20760)
  716.                 *PrintableOrigin: PAIR(200, 240)
  717.                 *CursorOrigin: PAIR(200, 21000)
  718.                 *Command: CmdSelect
  719.                 {
  720.                     *Order: DOC_SETUP.6
  721.                     *Cmd: "<1B>&l101a1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  722.                 }
  723.             }
  724.         }
  725.     }
  726.  
  727.     *Option: ENV_B5
  728.     {
  729.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  730.         *PageProtectMem: 4109
  731.         *InsertBlock: =PaperConstraints
  732.         *Constraints: Duplex.VERTICAL
  733.         *Constraints: Duplex.HORIZONTAL
  734.         *switch: Orientation
  735.         {
  736.             *case: PORTRAIT
  737.             {
  738.                 *PrintableArea: PAIR(7744, 11408)
  739.                 *PrintableOrigin: PAIR(284, 200)
  740.                 *CursorOrigin: PAIR(284, 200)
  741.                 *Command: CmdSelect
  742.                 {
  743.                     *Order: DOC_SETUP.6
  744.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4646x6845Y"
  745.                 }
  746.             }
  747.             *case: LANDSCAPE_CC90
  748.             {
  749.                 *PrintableArea: PAIR(7912, 11336)
  750.                 *PrintableOrigin: PAIR(200, 236)
  751.                 *CursorOrigin: PAIR(200, 11572)
  752.                 *Command: CmdSelect
  753.                 {
  754.                     *Order: DOC_SETUP.6
  755.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6802x4747Y"
  756.                 }
  757.             }
  758.         }
  759.     }
  760.     
  761. }
  762.  
  763.  
  764. *% MPH: attempt to add media type selection
  765. *Feature: MediaType
  766. {
  767.     *rcNameID: =MEDIA_TYPE_DISPLAY
  768.     *DefaultOption: AutoSelect
  769.  
  770.     *Option: AutoSelect
  771.     {
  772.         *rcNameID: 271
  773.         *Command: CmdSelect
  774.         {
  775.             *Order: DOC_SETUP.6
  776.             *Cmd: ""
  777.         }
  778.     }
  779.     *Option: Plain
  780.     {
  781.         *rcNameID: 435   *% Plain
  782.         *Command: CmdSelect
  783.         {
  784.             *Order: DOC_SETUP.6
  785.             *Cmd: "<1B>&n6WdPlain"
  786.         }
  787.     }
  788.     *Option: Preprinted
  789.     {
  790.         *rcNameID: 436   *% Preprinted
  791.         *Command: CmdSelect
  792.         {
  793.             *Order: DOC_SETUP.6
  794.             *Cmd: "<1B>&n11WdPreprinted"
  795.         }
  796.     }
  797.     *Option: Letterhead
  798.     {
  799.         *rcNameID: 437   *% Letterhead
  800.         *Command: CmdSelect
  801.         {
  802.             *Order: DOC_SETUP.6
  803.             *Cmd: "<1B>&n11WdLetterhead"
  804.         }
  805.     }
  806.     *Option: Transparency
  807.     {
  808.         *rcNameID: =TRANSPARENCY_DISPLAY    *% Transparency
  809.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  810.         *Command: CmdSelect
  811.         {
  812.             *Order: DOC_SETUP.6
  813.             *Cmd: "<1B>&n13WdTransparency"
  814.         }
  815.     }
  816.     *Option: Prepunched
  817.     {
  818.         *rcNameID: 438   *% Prepunched
  819.         *Command: CmdSelect
  820.         {
  821.             *Order: DOC_SETUP.6
  822.             *Cmd: "<1B>&n11WdPrepunched"
  823.         }
  824.     }
  825.     *Option: Labels
  826.     {
  827.         *rcNameID: 439   *% Labels
  828.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  829.         *Command: CmdSelect
  830.         {
  831.             *Order: DOC_SETUP.6
  832.             *Cmd: "<1B>&n7WdLabels"
  833.         }
  834.     }
  835.     *Option: Bond
  836.     {
  837.         *rcNameID: 269   *% Bond
  838.         *Command: CmdSelect
  839.         {
  840.             *Order: DOC_SETUP.6
  841.             *Cmd: "<1B>&n5WdBond"
  842.         }
  843.     }
  844.     *Option: Recycled
  845.     {
  846.         *rcNameID: 440   *% Recycled
  847.         *Command: CmdSelect
  848.         {
  849.             *Order: DOC_SETUP.6
  850.             *Cmd: "<1B>&n9WdRecycled"
  851.         }
  852.     }
  853.     *Option: Color
  854.     {
  855.         *rcNameID: 441   *% Color
  856.         *Command: CmdSelect
  857.         {
  858.             *Order: DOC_SETUP.6
  859.             *Cmd: "<1B>&n6WdColor"
  860.         }
  861.     }
  862.     *Option: CardStock
  863.     {
  864.         *rcNameID: 442   *% Cardstock
  865.         *Command: CmdSelect
  866.         {
  867.             *Order: DOC_SETUP.6
  868.             *Cmd: "<1B>&n11WdCard Stock"
  869.         }
  870.     }
  871. }
  872.  
  873. *%  Constrain against stapling a collated job without a hard disk!
  874. *InvalidCombination: LIST(PrinterHardDisk.FALSE, Collate.ON, OutputBin.Option13)
  875.  
  876. *% printer supports collation only if PrinterHardDisk installed
  877. *% (see CopyCmd and PrinterHardDisk)
  878. *Feature: Collate
  879. {
  880.     *rcNameID: 392 
  881.  
  882.     *DefaultOption: OFF
  883.     *Option: ON
  884.     {
  885.         *rcNameID: =ON_DISPLAY
  886.         *switch: PrinterHardDisk
  887.         {
  888.             *case: FALSE
  889.             {
  890.                 *Command: CmdSelect
  891.                 {
  892.                     *Order: JOB_SETUP.5
  893.                     *% Collate requested but no disk => printer collate disabled
  894.                     *% Print Processor will take care of collated copies
  895.                     *Cmd: ""
  896.                 }
  897.             }
  898.             *case: TRUE
  899.             {
  900.                 *Command: CmdSelect
  901.                 {
  902.                     *Order: JOB_SETUP.5
  903.                     *% Collate requested with disk => printer collate enabled
  904.                     *% Printer will take care of collated copies
  905.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  906.                 }
  907.             }
  908.         }
  909.     }
  910.     *Option: OFF
  911.     {
  912.         *rcNameID: =OFF_DISPLAY
  913.         *Command: CmdSelect
  914.         {
  915.             *Order: JOB_SETUP.5
  916.             *Cmd: ""
  917.         }
  918.     }
  919. }
  920.  
  921. *% IMPORTANT NOTE:
  922. *% The OEM customization code assumes that this feature's keyname is
  923. *%   "PrinterHardDisk"
  924. *% The OEM customization code assumes that the options are named "TRUE" and
  925. *%   "FALSE"
  926. *%
  927. *% feature to explicitly constrain Collate
  928. *Feature: PrinterHardDisk
  929. {
  930.     *rcNameID: 430 *% Printer Hard-Disk
  931.     *HelpIndex: 12002
  932.     *FeatureType: PRINTER_PROPERTY
  933.     *DefaultOption: FALSE
  934.     *Option: FALSE
  935.     {
  936.         *rcNameID: 444
  937.         *DisabledFeatures: LIST(Collate)
  938.     }
  939.     *Option: TRUE
  940.     {
  941.         *rcNameID: 443
  942.     }
  943. }
  944.  
  945.  
  946. *Feature: Economode
  947. {
  948.     *rcNameID: 377  *% EconoMode
  949.     *HelpIndex: 12009
  950.     *DefaultOption: Option1
  951.     *Option: Option1
  952.     {
  953.         *rcNameID: 266
  954.         *Command: CmdSelect
  955.         {
  956.             *Order: JOB_SETUP.3
  957.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  958.         }
  959.     }
  960.     *Option: Option2
  961.     {
  962.         *rcNameID: 267
  963.         *Command: CmdSelect
  964.         {
  965.             *Order: JOB_SETUP.3
  966.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  967.         }
  968.     }
  969. }
  970.  
  971.  
  972. *Feature: RET
  973. {
  974.     *rcNameID: 378
  975.     *HelpIndex: 12010
  976.     *DefaultOption: Option1
  977.     *Option: Option1
  978.     {
  979.         *rcNameID: 296
  980.         *Command: CmdSelect
  981.         {
  982.             *Order: JOB_SETUP.4
  983.             *Cmd: "@PJL SET RET=ON<0A>"
  984.         }
  985.     }
  986.     *Option: Option2
  987.     {
  988.         *rcNameID: 300
  989.         *Command: CmdSelect
  990.         {
  991.             *Order: JOB_SETUP.4
  992.             *Cmd: "@PJL SET RET=OFF<0A>"
  993.         }
  994.     }
  995. }
  996.  
  997. *Feature: Halftone
  998. {
  999.     *rcNameID: =HALFTONING_DISPLAY
  1000.     *DefaultOption: HT_PATSIZE_AUTO
  1001.     *Option: HT_PATSIZE_AUTO
  1002.     {
  1003.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1004.     }
  1005.     *Option: HT_PATSIZE_SUPERCELL_M
  1006.     {
  1007.         *rcNameID: =HT_SUPERCELL_DISPLAY
  1008.     }
  1009.     *Option: HT_PATSIZE_6x6_M
  1010.     {
  1011.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1012.     }
  1013.     *Option: HT_PATSIZE_8x8_M
  1014.     {
  1015.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1016.     }
  1017. }
  1018.  
  1019. *Feature: Memory
  1020. {
  1021.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1022.     *HelpIndex: 12003
  1023.     *DefaultOption: 12288KB
  1024. *% Default (on board) is 12MB.  4 memory slots with 2,4,8,16 & 32 MB dimms avail.
  1025.     *MemConfigKB: PAIR(4096, 3150)
  1026.     *MemConfigKB: PAIR(6144, 4950)
  1027.     *MemConfigKB: PAIR(8192, 6750)
  1028.     *MemConfigKB: PAIR(10240, 8550)
  1029.     *MemConfigKB: PAIR(12288, 10350)
  1030.     *MemConfigKB: PAIR(14336, 12150)
  1031.     *MemConfigKB: PAIR(16384, 13950)
  1032.     *MemConfigKB: PAIR(18432, 15750)
  1033.     *MemConfigKB: PAIR(20480, 17550)
  1034.     *MemConfigKB: PAIR(22528, 19350)
  1035.     *MemConfigKB: PAIR(24576, 21150)
  1036.     *MemConfigKB: PAIR(26624, 22950)
  1037.     *MemConfigKB: PAIR(28672, 24750)
  1038.     *MemConfigKB: PAIR(30720, 26550)
  1039.     *MemConfigKB: PAIR(32768, 28350)
  1040.     *MemConfigKB: PAIR(34816, 30150)
  1041.     *MemConfigKB: PAIR(36864, 31950)
  1042.     *MemConfigKB: PAIR(38912, 33750)
  1043.     *MemConfigKB: PAIR(40960, 35550)
  1044.     *MemConfigKB: PAIR(43008, 37350)
  1045.     *MemConfigKB: PAIR(45056, 39150)
  1046.     *MemConfigKB: PAIR(47104, 40950)
  1047.     *MemConfigKB: PAIR(49152, 42750)
  1048.     *MemConfigKB: PAIR(51200, 51083)
  1049.     *MemConfigKB: PAIR(53248, 46350)
  1050.     *MemConfigKB: PAIR(55296, 48150)
  1051.     *MemConfigKB: PAIR(57344, 49950)
  1052.     *MemConfigKB: PAIR(59392, 51750)
  1053.     *MemConfigKB: PAIR(61440, 53550)
  1054.     *MemConfigKB: PAIR(63488, 55350)
  1055.     *MemConfigKB: PAIR(65536, 57150)
  1056.     *MemConfigKB: PAIR(67584, 58950)
  1057.     *MemConfigKB: PAIR(69632, 60750)
  1058.     *MemConfigKB: PAIR(71680, 62550)
  1059.     *MemConfigKB: PAIR(73728, 64350)
  1060.     *MemConfigKB: PAIR(75766, 66146)
  1061.     *MemConfigKB: PAIR(77824, 67944)
  1062. }
  1063.  
  1064. *% IMPORTANT NOTE:
  1065. *% The OEM customization code assumes that this feature's keyname is
  1066. *%   "DuplexUnit"
  1067. *% The OEM customization code assumes that the options are named "TRUE" and
  1068. *%   "FALSE"
  1069. *%
  1070. *% new explicit constraint (non synthesized) for Duplex
  1071. *Feature: DuplexUnit
  1072. {
  1073.     *rcNameID: 429 *% Duplex Unit
  1074.     *HelpIndex: 12004
  1075.     *FeatureType: PRINTER_PROPERTY
  1076.     *DefaultOption: TRUE
  1077.     *Option: FALSE
  1078.     {
  1079.         *rcNameID: 444
  1080.         *DisabledFeatures: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  1081.     }
  1082.     *Option: TRUE
  1083.     {
  1084.         *rcNameID: 443
  1085.     }
  1086. }
  1087.  
  1088. *Feature: Duplex
  1089. {
  1090.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1091.     *DefaultOption: NONE
  1092.     *Option: NONE
  1093.     {
  1094.         *rcNameID: =NONE_DISPLAY
  1095.         *Command: CmdSelect
  1096.         {
  1097.             *Order: DOC_SETUP.3
  1098.             *Cmd: "<1B>&l0S"
  1099.         }
  1100.     }
  1101.     *Option: VERTICAL
  1102.     {
  1103.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1104.         *Command: CmdSelect
  1105.         {
  1106.             *Order: DOC_SETUP.4
  1107.             *Cmd: "<1B>&l1S"
  1108.         }
  1109.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1110.     }
  1111.     *Option: HORIZONTAL
  1112.     {
  1113.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1114.         *Command: CmdSelect
  1115.         {
  1116.             *Order: DOC_SETUP.4
  1117.             *Cmd: "<1B>&l2S"
  1118.         }
  1119.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1120.     }
  1121. }
  1122.  
  1123. *%
  1124. *% Duplex / Unit, Sizes, Types constraints
  1125. *%
  1126. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.VERTICAL)
  1127. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.HORIZONTAL)
  1128. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_10)
  1129. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_DL)
  1130. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_MONARCH)
  1131. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_C5)
  1132. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_B5)
  1133. *Ifdef: WINNT_50
  1134. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1135. *Endif: WINNT_50
  1136. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.MyMax117x177)
  1137. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1138. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1139. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1140. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1141. *InvalidCombination: LIST(Duplex.HORIZONTAL,PaperSize.ENV_B5)
  1142. *Ifdef: WINNT_50
  1143. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1144. *Endif: WINNT_50
  1145. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.MyMax117x177)
  1146.  
  1147.  
  1148. *% IMPORTANT NOTE:
  1149. *% The OEM customization code assumes that this feature's keyname is
  1150. *%   "Option21"
  1151. *% The OEM customization code assumes that the options are named "Mailbox",
  1152. *%   "Stacker" and "Separator"
  1153. *Feature: Option21
  1154. {
  1155.     *rcNameID: 423   *% Mailbox Mode
  1156.     *HelpIndex: 12015
  1157.     *FeatureType: PRINTER_PROPERTY
  1158.     *Option: MailboxModeMailbox
  1159.     {
  1160.         *rcNameID: 422  *% Mailbox
  1161.     }
  1162.     *Option: MailboxModeStacker
  1163.     {
  1164.         *rcNameID: 431  *% Stacker
  1165.         *DisabledFeatures: LIST(Stapling)
  1166.     }
  1167.     *Option: MailboxModeSeparator
  1168.     {
  1169.         *rcNameID: 432  *% Job Separator
  1170.         *DisabledFeatures: LIST(Stapling)
  1171.     }
  1172. }
  1173.  
  1174. *% Feature that allows user to select which, if any, accessory output
  1175. *% bin is installed.
  1176. *% Called "Option20" because that's what PPD calls it.
  1177. *Feature: Option20
  1178. {
  1179.     *rcNameID: 582  *% Accessory Output Bin
  1180.     *HelpIndex: 12012
  1181.     *FeatureType: PRINTER_PROPERTY
  1182.     *DefaultOption: MBM5S
  1183.     *Option: Standard
  1184.     {
  1185.         *DisabledFeatures: LIST(Stapling)
  1186.         *rcNameID: 426 *% Left Face Up
  1187.     }
  1188.     *Option: MBM5S
  1189.     {
  1190.         *rcNameID: 425
  1191.     }
  1192.     *Option: MBM8
  1193.     {
  1194.         *DisabledFeatures: LIST(Stapling)
  1195.         *rcNameID: 424
  1196.     }
  1197.     *Option: None
  1198.     {
  1199.          *DisabledFeatures: LIST(Stapling)
  1200.          *rcNameID: 444
  1201.     }
  1202. }
  1203.  
  1204.  
  1205. *% define stapling capability for directory services
  1206. *% + The OEMUI DLL will hide this from the Doc Defaults Advanced tree-view.
  1207. *% + The user selects stapling from Output Bin (Stapler).
  1208. *% + Disabled if 5binHCO not installed OR Option21 not in Mailbox mode.
  1209. *Feature: Stapling
  1210. {
  1211.     *rcNameID: 433 *% Stapler
  1212.     *Option: Bogus
  1213.     {
  1214.         *Name: "Select from Output Bin"
  1215.     }
  1216. }
  1217.  
  1218.  
  1219. *% IMPORTANT NOTE:
  1220. *% The OEM customization code that goes with this minidriver (hp5si5ui.dll)
  1221. *% assumes that all these output bins are defined and are defined in the
  1222. *% current order.  (Don't change it!)  These are hard-coded defines in
  1223. *% the OEM code.
  1224. *Feature: OutputBin
  1225. {
  1226.     *rcNameID: =OUTPUTBIN_DISPLAY
  1227.     *HelpIndex: 12011
  1228.     *DefaultOption: Option1
  1229.     *Option: Option1
  1230.     {
  1231.         *% Auto Select
  1232.         *rcNameID: 271
  1233.         *Command: CmdSelect
  1234.         {
  1235.         }
  1236.     }
  1237.     *Option: Option2
  1238.     {
  1239.         *% Top Face-Down
  1240.         *rcNameID: 282
  1241.         *Command: CmdSelect
  1242.         {
  1243.             *Order: JOB_SETUP.5
  1244.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  1245.         }
  1246.     }
  1247.     *Option: Option3
  1248.     {
  1249.         *% Left Face-Up
  1250.         *rcNameID: 283
  1251.         *OutputOrderReversed?:  TRUE
  1252.         *Command: CmdSelect
  1253.         {
  1254.             *Order: JOB_SETUP.5
  1255.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  1256.         }
  1257.     }
  1258.     *Option: Option4
  1259.     {
  1260.         *% HCO Face-Up
  1261.         *rcNameID: 284
  1262.         *OutputOrderReversed?:  TRUE
  1263.         *Command: CmdSelect
  1264.         {
  1265.             *Order: JOB_SETUP.5
  1266.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
  1267.         }
  1268.     }
  1269.     *Option: Option5
  1270.     {
  1271.         *% Mailbox 1
  1272.         *rcNameID: 412
  1273.         *Command: CmdSelect
  1274.         {
  1275.             *Order: JOB_SETUP.5
  1276.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1277.         }
  1278.     }
  1279.     *Option: Option6
  1280.     {
  1281.         *% Mailbox 2
  1282.         *rcNameID: 413
  1283.         *Command: CmdSelect
  1284.         {
  1285.             *Order: JOB_SETUP.5
  1286.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
  1287.         }
  1288.     }
  1289.     *Option: Option7
  1290.     {
  1291.         *% Mailbox 3
  1292.         *rcNameID: 414
  1293.         *Command: CmdSelect
  1294.         {
  1295.             *Order: JOB_SETUP.5
  1296.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
  1297.         }
  1298.     }
  1299.     *Option: Option8
  1300.     {
  1301.         *% Mailbox 4
  1302.         *rcNameID: 415
  1303.         *Command: CmdSelect
  1304.         {
  1305.             *Order: JOB_SETUP.5
  1306.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
  1307.         }
  1308.     }
  1309.     *Option: Option9
  1310.     {
  1311.         *% Mailbox 5
  1312.         *rcNameID: 416
  1313.         *Command: CmdSelect
  1314.         {
  1315.             *Order: JOB_SETUP.5
  1316.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
  1317.         }
  1318.     }
  1319.     *Option: Option10
  1320.     {
  1321.         *% Mailbox 6
  1322.         *rcNameID: 417
  1323.         *Command: CmdSelect
  1324.         {
  1325.             *Order: JOB_SETUP.5
  1326.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
  1327.         }
  1328.     }
  1329.     *Option: Option11
  1330.     {
  1331.         *% Mailbox 7
  1332.         *rcNameID: 418
  1333.         *Command: CmdSelect
  1334.         {
  1335.             *Order: JOB_SETUP.5
  1336.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
  1337.         }
  1338.     }
  1339.     *Option: Option12
  1340.     {
  1341.         *% Mailbox 8
  1342.         *rcNameID: 419
  1343.         *Command: CmdSelect
  1344.         {
  1345.             *Order: JOB_SETUP.5
  1346.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
  1347.         }
  1348.     }
  1349.  
  1350.     *Option: Option13
  1351.     {
  1352.         *% Stapler
  1353.         *rcNameID: 433   *% Stapler
  1354.         *Command: CmdSelect
  1355.         {
  1356.             *Order: JOB_SETUP.5
  1357.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>@PJL SET FINISH=STAPLE<0A>"
  1358.         }
  1359.        
  1360.      }
  1361.  
  1362.     *Option: Option14
  1363.     {
  1364.         *% Stacker
  1365.         *rcNameID: 431   *% Stacker
  1366.         *Command: CmdSelect
  1367.         {
  1368.             *Order: JOB_SETUP.5
  1369.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1370.         }
  1371.     }
  1372.     *Option: Option15
  1373.     {
  1374.         *% Job Separator
  1375.         *rcNameID: 432   
  1376.         *Command: CmdSelect
  1377.         {
  1378.             *Order: JOB_SETUP.5
  1379.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1380.         }
  1381.     }
  1382.     *Option: Option16
  1383.     {
  1384.         *% Collator
  1385.         *rcNameID: 392   
  1386.         *Command: CmdSelect
  1387.         {
  1388.             *Order: JOB_SETUP.5
  1389.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1390.         }
  1391.     }
  1392. }
  1393.  
  1394. *%
  1395. *% installed HCO / OutputBin constraints
  1396. *%
  1397. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option4)
  1398. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option5)
  1399. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option6)
  1400. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option7)
  1401. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option8)
  1402. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option9)
  1403. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option10)
  1404. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option11)
  1405. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option12)
  1406. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option13)
  1407. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option14)
  1408. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option15)
  1409. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option16)
  1410.  
  1411. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option3)
  1412. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option10)
  1413. *InvalidCombination: LIST(Option20.MBM5S,  OutputBin.Option11)
  1414. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option12)
  1415.  
  1416. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option3)
  1417. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option13)
  1418.  
  1419.  
  1420. *%
  1421. *% Stapling (OutputBin.Option13) / Sizes, Types constraints
  1422. *%
  1423. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.LEGAL)
  1424. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.EXECUTIVE)
  1425. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.11X17)
  1426. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_10)
  1427. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_DL)
  1428. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_MONARCH)
  1429. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.A3)
  1430. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B4)
  1431. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B5)
  1432. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_C5)
  1433. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_B5)
  1434. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.CUSTOMSIZE)
  1435. *Ifdef: WINNT_50
  1436. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1437. *Endif: WINNT_50
  1438. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.MyMax117x177)
  1439.  
  1440. *%
  1441. *% Envelopes to top face up bin of MBMs
  1442. *%
  1443. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option5)
  1444. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option6)
  1445. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option7)
  1446. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option8)
  1447. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option9)
  1448. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option10)
  1449. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option11)
  1450. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option12)
  1451. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option14)
  1452. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option15)
  1453. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option16)
  1454.  
  1455. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option5)
  1456. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option6)
  1457. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option7)
  1458. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option8)
  1459. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option9)
  1460. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option10)
  1461. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option11)
  1462. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option12)
  1463. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option14)
  1464. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option15)
  1465. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option16)
  1466.  
  1467. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option5)
  1468. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option6)
  1469. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option7)
  1470. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option8)
  1471. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option9)
  1472. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option10)
  1473. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option11)
  1474. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option12)
  1475. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option14)
  1476. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option15)
  1477. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option16)
  1478.  
  1479. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option5)
  1480. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option6)
  1481. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option7)
  1482. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option8)
  1483. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option9)
  1484. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option10)
  1485. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option11)
  1486. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option12)
  1487. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option14)
  1488. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option15)
  1489. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option16)
  1490.  
  1491. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option5)
  1492. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option6)
  1493. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option7)
  1494. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option8)
  1495. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option9)
  1496. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option10)
  1497. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option11)
  1498. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option12)
  1499. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option14)
  1500. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option15)
  1501. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option16)
  1502.  
  1503. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option5)
  1504. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option6)
  1505. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option7)
  1506. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option8)
  1507. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option9)
  1508. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option10)
  1509. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option11)
  1510. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option12)
  1511. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option14)
  1512. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option15)
  1513. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option16)
  1514.  
  1515. *Ifdef: WINNT_50
  1516. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option5)
  1517. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option6)
  1518. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option7)
  1519. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option8)
  1520. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option9)
  1521. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option10)
  1522. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option11)
  1523. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option12)
  1524. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option14)
  1525. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option15)
  1526. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option16)
  1527. *Endif: WINNT_50
  1528.  
  1529. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option5)
  1530. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option6)
  1531. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option7)
  1532. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option8)
  1533. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option9)
  1534. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option10)
  1535. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option11)
  1536. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option12)
  1537. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option14)
  1538. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option15)
  1539. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option16)
  1540.  
  1541. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option5)
  1542. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option6)
  1543. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option7)
  1544. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option8)
  1545. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option9)
  1546. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option10)
  1547. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option11)
  1548. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option12)
  1549. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option14)
  1550. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option15)
  1551. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option16)
  1552.  
  1553. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option5)
  1554. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option6)
  1555. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option7)
  1556. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option8)
  1557. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option9)
  1558. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option10)
  1559. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option11)
  1560. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option12)
  1561. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option13)
  1562. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option14)
  1563. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option15)
  1564. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option16)
  1565.  
  1566. *InvalidCombination: LIST(MediaType.Transparency,OutputBin.Option5)
  1567. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option6)
  1568. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option7)
  1569. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option8)
  1570. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option9)
  1571. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option10)
  1572. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option11)
  1573. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option12)
  1574. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option13)
  1575. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option14)
  1576. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option15)
  1577. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option16)
  1578.  
  1579. *InvalidCombination: LIST(MediaType.Labels,OutputBin.Option5)
  1580. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option6)
  1581. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option7)
  1582. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option8)
  1583. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option9)
  1584. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option10)
  1585. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option11)
  1586. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option12)
  1587. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option13)
  1588. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option14)
  1589. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option15)
  1590. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option16)
  1591.  
  1592.  
  1593. *Feature: PageProtect
  1594. {
  1595.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  1596.     *DefaultOption: OFF
  1597.     *Option: ON
  1598.     {
  1599.         *rcNameID: =ON_DISPLAY
  1600.         *Command: CmdSelect
  1601.         {
  1602.            *Order: JOB_SETUP.2
  1603.            *Cmd: "@PJL SET PAGEPROTECT=ON<0A>"
  1604.         }
  1605.     }
  1606.     *Option: OFF
  1607.     {
  1608.         *rcNameID: =OFF_DISPLAY
  1609.         *Command: CmdSelect
  1610.         {
  1611.            *Order: JOB_SETUP.2
  1612.            *Cmd: "@PJL SET PAGEPROTECT=OFF<0A>@PJL SET PAGEPROTECT=AUTO<0A>"
  1613.         }
  1614.     }
  1615. }
  1616. *%-------------------------------------------------------------------------
  1617. *% Job setup commands
  1618. *%-------------------------------------------------------------------------
  1619. *Command: CmdStartJob
  1620. {
  1621.     *Order: JOB_SETUP.1
  1622.     *Cmd: "<1B>%%-12345X"
  1623. +         "@PJL COMMENT HP LaserJet 5Si Mopier<0A>"
  1624. }
  1625. *Command: CmdStartDoc
  1626. {
  1627.     *Order: DOC_SETUP.1
  1628.     *Cmd: "<1B>&u600D<1B>*r0F"
  1629. }
  1630. *Command: CmdStartPage
  1631. {
  1632.     *Order: PAGE_SETUP.1
  1633.     *Cmd: "<1B>*b0M<0D>"
  1634. }
  1635. *Command: CmdEndJob
  1636. {
  1637.     *Order: JOB_FINISH.1
  1638.     *Cmd: "<1B>E<1B>%%-12345X"
  1639. }
  1640.  
  1641. *% Only set number of copies if printer collation is not possible.
  1642. *% This should mirror the setting of QTY (see *Feature: Collate).
  1643. *% That is if QTY is set, copies should be 1 else NumOfCopies.
  1644. *switch: Collate
  1645. {
  1646.     *case: OFF
  1647.     {
  1648.         *Command: CmdCopies
  1649.         {
  1650.             *Order: DOC_SETUP.7
  1651.             *% Uncollated copies!  Set copy count to NumOfCopies
  1652.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1653.         }
  1654.     }
  1655.     *case: ON
  1656.     {
  1657.         *switch: PrinterHardDisk
  1658.         {
  1659.             *case: FALSE
  1660.             {
  1661.                 *Command: CmdCopies
  1662.                 {
  1663.                     *Order: DOC_SETUP.7
  1664.                     *% Collate requested but no disk => printer collate disabled
  1665.                     *% WordPad on Whistler does not handle single page documents correctly.  The
  1666.                     *% Printer hard disk switch ensures the user gets the requested copies.
  1667.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1668.                 }
  1669.             }
  1670.             *case: TRUE
  1671.             {
  1672.                 *Command: CmdCopies
  1673.                 {
  1674.                     *Order: DOC_SETUP.7
  1675.                     *% Collate requested with disk => printer collate enabled
  1676.                     *% Printer will take care of collated copies
  1677.                     *Cmd: "<1B>&l1X"
  1678.                 }
  1679.             }
  1680.         }
  1681.     }
  1682. }
  1683.  
  1684. *RotateCoordinate?: TRUE
  1685. *RotateRaster?: TRUE
  1686. *RotateFont?: TRUE
  1687. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1688. *MemoryUsage: LIST(FONT)
  1689. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1690. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1691. *XMoveThreshold: 0
  1692. *YMoveThreshold: 0
  1693. *XMoveUnit: 600
  1694. *YMoveUnit: 600
  1695. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1696. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1697. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1698. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1699. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1700. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1701. *Command: CmdCR { *Cmd : "<0D>" }
  1702. *Command: CmdLF { *Cmd : "<0A>" }
  1703. *Command: CmdFF { *Cmd : "<0C>" }
  1704. *Command: CmdBackSpace { *Cmd : "<08>" }
  1705. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1706. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1707. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1708. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1709. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1710. *EjectPageWithFF?: TRUE
  1711. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1712. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1713. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1714. *OutputDataFormat: H_BYTE
  1715. *OptimizeLeftBound?: TRUE
  1716. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1717. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1718. *DefaultFont: 229
  1719. *DefaultCTT: 0
  1720. *CharPosition: BASELINE
  1721. *TTFSEnabled?: TRUE
  1722. *DeviceFonts: LIST(146,147,148,149,150,151,152,153,154,155,
  1723. +       156,157,164,165,166,196,197,198,199,200,
  1724. +       201,202,203,209,210,211,212,213,214,215,
  1725. +       216,217,218,219,220,221,222,223,224,225,
  1726. +       226,227,228,229,230)
  1727. *FontCartridge: FC1
  1728. {
  1729.     *rcCartridgeNameID: 322
  1730.     *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1731. }
  1732. *FontCartridge: FC2
  1733. {
  1734.     *rcCartridgeNameID: 323
  1735.     *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1736. +                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1737. +                   91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1738. }
  1739. *FontCartridge: FC3
  1740. {
  1741.     *rcCartridgeNameID: 324
  1742.     *Fonts: LIST(31,32,33,34,35,36)
  1743. }
  1744. *FontCartridge: FC4
  1745. {
  1746.     *rcCartridgeNameID: 325
  1747.     *Fonts: LIST(37,38,39,40,41,42,43)
  1748. }
  1749. *FontCartridge: FC5
  1750. {
  1751.     *rcCartridgeNameID: 326
  1752.     *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1753. }
  1754. *FontCartridge: FC6
  1755. {
  1756.     *rcCartridgeNameID: 327
  1757.     *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1758. +                   144,145)
  1759. }
  1760. *FontCartridge: FC7
  1761. {
  1762.     *rcCartridgeNameID: 328
  1763.     *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,62,63,64)
  1764. }
  1765. *FontCartridge: FC8
  1766. {
  1767.     *rcCartridgeNameID: 329
  1768.     *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1769. }
  1770. *FontCartridge: FC9
  1771. {
  1772.     *rcCartridgeNameID: 330
  1773.     *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1774. }
  1775. *FontCartridge: FC10
  1776. {
  1777.     *rcCartridgeNameID: 331
  1778.     *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1779. +                   247,248)
  1780. }
  1781. *FontCartridge: FC11
  1782. {
  1783.     *rcCartridgeNameID: 332
  1784.     *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1785. +                   170,171,172,173,174,175,176,177,178,179,180,181,182)
  1786. }
  1787. *FontCartridge: FC12
  1788. {
  1789.     *rcCartridgeNameID: 333
  1790.     *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1791. +                   199,200,201,202,203,204,205,206,207,208)
  1792. }
  1793.  
  1794. *MinFontID: 16534
  1795. *MaxFontID: 32768
  1796. *switch: Resolution
  1797. {
  1798.     *case: Option1
  1799.     {
  1800.         *FontFormat: HPPCL_OUTLINE
  1801.     }
  1802.     *case: Option2
  1803.     {
  1804.         *FontFormat: HPPCL_RES
  1805.     }
  1806. }
  1807. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1808. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1809. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1810. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1811. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1812. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1813. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1814. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1815. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1816. *MinGrayFill: 1
  1817. *MaxGrayFill: 100
  1818. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1819. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1820. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1821. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1822. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1823.